﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Zeus.Biz.SOA.Entity.Northwind;
using Zeus.Biz.Northwind.Model;

namespace Zeus.Biz.Sequence
{
    public class EmployeesGetFlow
    {
        public EmployeesResponse Go()
        {
            EmployeesResponse res = new EmployeesResponse();
            res.Code = "0000";
            res.Message = "Success";
            List<EmployeeModel> employees = new List<EmployeeModel>();
            employees.Add(new EmployeeModel
            {
                EmployeeID = 1,
                FirstName = "David",
                LastName = "Gu",
                Title = "Software Architecturest"
            });
            employees.Add(new EmployeeModel
            {
                EmployeeID = 2,
                FirstName = "Tony",
                LastName = "He",
                Title = "Software Engineer"
            });
            res.Employees = employees;

            return res;
        }
    }
}
